Rnoc\Retainful\WcFunctions D

Total Complexity 346
Dependencies 6
Dependents 8
Total lines 1,975
Lines of code 1,039
Logical lines of code 549
Comment lines 639
Methods 146
Properties 1

Methods 146

Method Rating Maintainability Complexity Lines of code
getCustomerTotalSpent()
S
59 6 14
getAppliedDiscounts()
S
52 5 26
getCategoryIdsOfProductInCart()
S
59 5 15
getCartSubTotal()
S
63 4 13
getUsedCoupons()
S
62 4 12
getSaleProductIdsInCart()
S
61 4 12
getCartUrl()
S
62 4 11
getOrderId()
S
67 4 8
getCustomerTotalOrders()
S
65 4 9
hasSession()
S
63 4 10
setSession()
S
65 4 9
getOrderUserId()
S
67 4 8
getSiteDefaultLang()
S
65 4 10
getOrderItemMeta()
S
65 4 9
getSessionCookie()
S
63 3 12
getCustomerEmail()
S
63 3 12
__construct()
S
62 3 11
getCustomerOrdersByEmail()
S
63 3 11
getProductImageSrc()
S
62 3 11
getOrderEmail()
S
67 3 8
startPHPSession()
S
74 3 5
getPage()
S
66 3 9
getSession()
S
67 3 8
getPHPSession()
S
67 3 9
addToCart()
S
63 3 10
setQuantity()
S
64 3 10
initWoocommerceSession()
S
73 3 5
isCartEmpty()
S
64 3 10
removeSession()
S
67 3 8
removePHPSession()
S
66 3 9
hasDiscount()
S
67 3 8
addDiscount()
S
67 3 8
removeDiscount()
S
67 3 8
getOrderDate()
S
64 3 10
setPHPSession()
S
68 3 7
getProductIdsInCart()
S
64 3 10
getPriceIncludingTax()
S
69 3 7
isMethodExists()
S
70 3 6
getUserByEmail()
S
66 3 9
isProductInSale()
S
66 3 9
isValidCoupon()
S
65 3 9
getPriceExcludingTax()
S
69 3 7
getItemTitle()
S
71 2 6
getItemName()
S
70 2 6
getItemPrice()
S
71 2 6
getBillingLastName()
S
71 2 6
getCategoryId()
S
71 2 6
getProductCategoryIds()
S
71 2 6
getCheckoutUrl()
S
69 2 7
getProductImageId()
S
71 2 6
getCouponCode()
S
71 2 6
getDefaultCurrency()
S
72 2 6
getOrderCurrency()
S
71 2 6
getBillingFirstName()
S
71 2 6
getBillingEmail()
S
71 2 6
getShopUrl()
S
71 2 6
getOrderItemsTotal()
S
71 2 6
getBillingAddressOne()
S
71 2 6
getShippingPostCode()
S
71 2 6
getCustomerTotalSpentFromSession()
S
64 2 10
getAvailableOrderStatuses()
S
72 2 6
getCustomerTotalOrdersFromSession()
S
64 2 10
getProduct()
S
72 2 6
getCartItemPrice()
S
68 2 8
getCartFees()
S
71 2 6
getCartShippingTotal()
S
72 2 6
getCartDiscountTotal()
S
72 2 6
getCartShippingTaxTotal()
S
72 2 6
getCartTaxTotal()
S
72 2 6
getOrderItems()
S
72 2 6
getOrderTotalTax()
S
71 2 6
getShippingCompany()
S
71 2 6
getShippingCountry()
S
71 2 6
getBillingAddressTwo()
S
71 2 6
getShippingState()
S
71 2 6
getShippingCity()
S
71 2 6
getShippingAddressTwo()
S
71 2 6
getShippingAddressFormatted()
S
71 2 6
getShippingAddressOne()
S
71 2 6
getShippingLastName()
S
71 2 6
getShippingFirstName()
S
71 2 6
getBillingPhone()
S
71 2 6
getBillingCompany()
S
71 2 6
getBillingPostCode()
S
71 2 6
getBillingCountry()
S
71 2 6
getBillingState()
S
71 2 6
getItemId()
S
71 2 6
getBillingCity()
S
71 2 6
getItemSku()
S
71 2 6
getCouponDiscountType()
S
71 2 6
getCartTotal()
S
72 2 6
isOrderPaid()
S
71 2 6
priceThousandSeparator()
S
72 2 6
priceDecimalSeparator()
S
72 2 6
getOrderUser()
S
71 2 6
hasOrderStatus()
S
71 2 6
getOrderTotal()
S
71 2 6
getOrderLastName()
S
71 2 6
getOrderFirstName()
S
71 2 6
getOrderReceivedURL()
S
71 2 6
getOrderPaymentURL()
S
71 2 6
isOrderNeedPayment()
S
71 2 6
setOrderNote()
S
74 2 5
formatPrice()
S
71 2 6
getOrderFees()
S
71 2 6
getOrderShippingTotal()
S
71 2 6
getOrderDiscount()
S
71 2 6
getItemTaxSubTotal()
S
71 2 6
getItemSubTotal()
S
71 2 6
getProductUrl()
S
71 2 6
getOrderSubTotal()
S
71 2 6
getOrderNumber()
S
71 2 6
getStatus()
S
69 2 7
setOrderMeta()
S
70 2 6
getProductImage()
S
71 2 6
priceDecimals()
S
72 2 6
setOrderStatus()
S
71 2 6
getCartTotalForEdit()
S
71 2 6
getSessionCart()
S
68 2 8
getCartTaxes()
S
71 2 6
calculateCartTotals()
S
71 2 6
getCartTotalPrice()
S
72 2 6
getCartTotalDiscount()
S
71 2 6
getCouponDateExpires()
S
71 2 6
getCouponUsageCount()
S
71 2 6
getAppliedCartCoupons()
S
71 2 6
setSessionCookie()
S
71 2 6
getCartTotalTax()
S
71 2 6
getProductName()
S
71 2 6
getCartHash()
S
71 2 6
setCustomerPayingForOrder()
S
74 2 5
setCustomerEmail()
S
71 2 6
getCustomerBillingEmail()
S
71 2 6
emptyUserCart()
S
69 2 7
getOrder()
S
71 2 6
clearWooNotices()
S
75 2 5
getOrdersList()
S
72 2 6
getSessionCustomerId()
S
71 2 6
getAppliedCouponsOfCart()
S
73 2 5
getCart()
S
71 2 6
getClientSession()
S
63 1 11
getOrderMeta()
S
75 1 4
isPriceExcludingTax()
S
80 1 3
removeTotalOrdersAndSpentFromSession()
S
78 1 4
getPostMeta()
S
79 1 3
deleteOrderMeta()
S
79 1 3